
{if $full_page }

{include file="pageheader.htm"}

<script src="js/utils.js" ></script>
<script src="js/listtable.js" ></script>

<form method="post" action="" name="listForm" onsubmit="return confirmSubmit(this)">

  <!-- start orders list -->
  <div class="list-div" id="listDiv">

{/if}

<table cellpadding="3" cellspacing="1">

  <tr>
    <th>{$lang.record_id}</th>
    <th>{$lang.customer_name}</th>
    <th>{$lang.language}</th>    
    <th>{$lang.mailaddr}</th>    
    <th>{$lang.memberno} </th>  
    <th>{$lang.handler}</th>
  <tr>
 

  {foreach from=$customerlist item=customer}

  <tr>
    <td>{$customer.customers_id}</td>
    <td class="first-cell" >{$customer.customer_lname}{$customer.customer_fname}[{$customer.customer_lname_kana}&nbsp;{$customer.customer_fname_kana}]</td>
    <td>{$customer.language_name}</td>
    <td align="right"> {$customer.customers_mail}</td>
    <td align="center">{$customer.customer_no } </td>
    <td align="center">

	<a href="?page=customer&action=edit&id={$customer.customers_id}" title="{$lang.edit}"><img src="images/icon_edit.gif" width="16" height="16" border="0" /></a>

    <a href="?page=customer&action=drop&id={$customer.customers_id}"  onclick="return confirm('{$lang.drop_notice}');"><img src="images/icon_trash.gif" width="16" height="16" border="0" /></a>	

 	</td>

  </tr>

  {foreachelse}

  <tr><td class="no-records" colspan="10">{$lang.no_records}</td></tr>

  {/foreach}

</table>
<!-- end order list -->

<!-- pages -->
<table id="page-table" cellspacing="0">
  <tr>
     <td align="right" nowrap="true">
    {include file="page.htm"}
    </td>
  </tr>
</table>


{if $full_page}

</div>
</form>

<script type="text/javascript">
  listTable.recordCount = {$record_count};
  listTable.pageCount = {$page_count};

  {foreach from=$filter item=item key=key}
  listTable.filter.{$key} = '{$item}';
  {/foreach}  
</script>

{include file="pagefooter.htm"}

{/if}